package com.bolehui.base.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName UserTypeEnum
 * @Description
 * @createTime 2024/12/5 16:18
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
@Getter
public enum UserTypeEnum {

    Admin(0, "管理员"),
    JobHunter(1, "求职者"),
    Enterprise(2, "企业"),
    ;

    @EnumValue
    private Integer value;
    @JsonValue
    private String desc;

    UserTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

}
